package com.zhangyujun.bysj.manager.mapper;

import com.zhangyujun.bysj.model.entity.product.Category;
import com.zhangyujun.bysj.model.vo.product.CategoryExcelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapper {
    List<Category> selectByParentId(Long parentId);


    void batchInsert(List<CategoryExcelVo> categoryList);

    List<Category> selectAll();

    List<Category> selectCategoryByParentId(Long id);

    int selectCountByParentId(Long id);
}
